﻿import request from '@/utils/request';
// list
export const chengjiList = (params) => {
    return request({
        url: '/chengji/page',
        method: 'post',
        data: params,
    })
};
export const chengjiDetail = (id) => {
    return request({
        url: '/chengji/'+id,
        method: 'get',
    })
};
// add
export const chengjiSave = (params) => {
    return request({
        url: '/chengji',
        method: 'post',
        data: params,
    })
};
// updt
export const chengjiEdit = (params) => {
    return request({
        url: '/chengji',
        method: 'put',
        data: params,
    })
};
// delete
export const chengjiDelete = (id) => {
    return request({
        url: '/chengji/'+id,
        method: 'delete',
    })
};
// pldel
export const chengjiDeleteList = (chengjis) => {
    return request({
        url: '/chengji/deleteList',
        data:{list:chengjis},
        method: 'post',
    })
};
// all
export const chengjiAllList = () => {
    return request({
        url: '/chengji',
        method: 'get',
    })
};

export const chengji_tj_yuanxi = () => {return request({url: '/chengji/chengji_tj_yuanxi',method: 'get',})};export const chengji_tj_zhuanye = () => {return request({url: '/chengji/chengji_tj_zhuanye',method: 'get',})};export const chengji_tj_xuenian = () => {return request({url: '/chengji/chengji_tj_xuenian',method: 'get',})};export const chengji_tj_jingsaihuojiangrenshu = () => {return request({url: '/chengji/chengji_tj_jingsaihuojiangrenshu',method: 'get',})};export const chengji_tj_shengjihuojiangrenshu = () => {return request({url: '/chengji/chengji_tj_shengjihuojiangrenshu',method: 'get',})};export const chengji_tj_guojiajirenshu = () => {return request({url: '/chengji/chengji_tj_guojiajirenshu',method: 'get',})};